from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
from scheduler.model import CeleryBeatTaskInfo

import logging

logger = logging.getLogger(__file__)


class TaskInfoSerializer(SQLAlchemyAutoSchema):
    class Meta:
        model = CeleryBeatTaskInfo
        load_instance = True

